跳到主要内容

Inspection Setup & ROI Types

本页介绍在 OV20i 系统中定义检验区域和组织基于 AI 的检验工作流的基本概念。

ROI (Region of Interest) 基本概念

什么是 ROIs?

ROIs(Regions of Interest)定义 AI 模型将执行检验分析的矩形区域。这些区域将处理能力聚焦于特定位置,从而提高精度与效率。

核心 ROI 概念:

  • AI Model Workspace - ROIs 作为 AI 模型分析图像数据的参考位置
  • Processing Efficiency - 集中分析提升检验速度
  • Result Precision - 有针对性的分析降低假阳性率
  • Multiple Regions - 可以定义多个 ROIs 以实现全面检验

image.png

OV20i 的 ROI 类型

仅限 Rectangular ROI

OV20i 将 rectangular ROIs 作为所有检验场景的单一 ROI 类型。

为何使用 Rectangular:

  • Universal Application - 适用于大多数工业检验需求
  • AI Optimized - Rectangular ROIs 优化模型处理
  • Simple Implementation - 直接的设置与管理
  • Alignment Compatible - 与模板对齐系统无缝兼容

ROI 命名与标识

Default Naming: "New ROI"

每个新 ROI 的默认名称为 "New ROI",应修改为具有实际含义的标识。

为何更改 ROI 名称:

  • System Integration - 命名的 ROI 在自动化中更易引用
  • Maintenance - 清晰的名称简化排错
  • Documentation - 有意义的名称提升系统理解

命名示例:

  • "Bolt_Tightness_Check"
  • "Label_Presence_Verify"
  • "Surface_Quality_ROI"
  • "Component_Alignment"

image.png

Inspection Types: 分组与组织

Default: "Inspection Type 1"

系统将创建默认分组名 "Inspection Type 1",应更改以反映实际的检验目的。

Inspection Type 功能:

  • ROI Grouping - 将相关 ROIs 按逻辑类别组织起来
  • Result Organization - 按类型对检验结果进行分组
  • Workflow Management - 简化复杂多区域检验

image.png

关键:Node-RED 集成

为何 Inspection Type 名称重要:
更改 Inspection Type 名称很重要,因为 Node-RED 使用此名称进行输出发布。

Node-RED 输出影响:

  • Data Publishing - 结果使用 Inspection Type 名称进行发布
  • External Integration - 其他系统接收带有这些标识符的数据
  • Automation Logic - Node-RED 流引用这些名称进行路由

有效命名策略:

  • Process-Based: "Quality_Control", "Dimensional_Check"
  • Feature-Based: "Surface_Inspection", "Component_Verification"
  • Location-Based: "Top_Panel_Check", "Side_Assembly"
  • Avoid Generic: 将 "Inspection Type 1" 替换为具体标识符

Setup Workflow

配置过程

关键步骤:

  1. Inspection Type Naming - 将 "Inspection Type 1" 更改为有意义的名称
  2. ROI Creation - 使用 + Add Inspection Region 添加矩形区域
  3. ROI Naming - 将 "New ROI" 更改为描述性名称
  4. Positioning - 适当调整 ROI 的尺寸和位置
  5. Validation - 验证设置是否满足检验要求

多 ROI 管理

组织策略:

  • Logical Grouping - 将相关 ROIs 放在适当的 Inspection Types 下
  • Consistent Naming - 使用系统命名约定
  • System Integration - 考虑 Node-RED 的输出要求

Integration Considerations

Template Alignment Integration

Alignment Benefits:

  • Automatic Adjustment - ROIs 随部件对齐修正而移动
  • Consistent Coverage - ROIs 保持相对于部件特征的相对位置
  • Position Tolerance - 部件差异不影响检验精度

Node-RED Compatibility

Integration Requirements:

  • Unique Names - 确保输出的 Inspection Type 名称唯一
  • Naming Standards - 为系统集成建立约定
  • Output Testing - 验证 Node-RED 是否接收正确的标识符

Best Practices

高效 ROI 配置

关键准则:

  • Descriptive Naming - ROI 与 Inspection Type 名称都应具备含义
  • Appropriate Sizing - 在特征覆盖和处理效率之间取得平衡
  • Strategic Organization - 将相关 ROIs 按逻辑分组

系统集成

规划注意事项:

  • Node-RED 要求 - 为数据路由规划 Inspection Type 名称
  • Documentation - 记录 ROI 的用途和集成点
  • Testing - 验证输出能正确到达目标系统

🔗 See Also